package com.yami.shop.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MysteryBoxExtensionVo {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "盲盒id")
    private Long bid;

    @Schema(description = "盲盒名称")
    private String boxName;

    @Schema(description = "商品id")
    private Long pid;

    @Schema(description = "寄售折扣")
    private Double consignment;

    @Schema(description = "商品利润")
    private BigDecimal profit;

    @Schema(description = "回收折扣")
    private Double recyclingdiscount;

    @Schema(description = "实际概率")
    private Double realProbability;

    @Schema(description = "显示概率")
    private Double showProbability;

    @Schema(description = "被抽中次数")
    private Integer hits;

    @Schema(description = "级别（1：白金 2：钻石 3：传说 4：史诗）")
    private Integer level;

    @Schema(description = "用于盲盒活动的库存")
    private Integer totalStocks;

    @Schema(description = "盲盒活动可用库存")
    private Integer stocks;

}
